package com.arpa.oms.domain.entity;

import com.arpa.oms.domain.enums.OmsOutboundTypeEnum;
import com.arpa.wms.domain.entity.BasicEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * OMS收款明细基础类
 * </p>
 *
 * @author LEO
 * @since 2020-12-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class OmsReceivableDetailBasic extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录标识")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "入驻商")
    @TableField("shipment_code")
    private String shipmentCode;

    @ApiModelProperty(value = "货主名称")
    @TableField("shipment_name")
    private String shipmentName;

    @ApiModelProperty(value = "来源单号")
    @TableField("source_code")
    private String sourceCode;

    @ApiModelProperty(value = "单据类型")
    @TableField("bill_type")
    private OmsOutboundTypeEnum billType;

    @ApiModelProperty(value = "订单日期")
    @TableField("gmt_bill")
    private String gmtBill;

    @ApiModelProperty(value = "客户标识")
    @TableField("customer_code")
    private String customerCode;

    @ApiModelProperty(value = "客户名称")
    @TableField("customer_name")
    private String customerName;

    @ApiModelProperty(value = "金额")
    @TableField("amount_money")
    private BigDecimal amountMoney;

    @ApiModelProperty(value = "已结算金额")
    @TableField("settled_money")
    private BigDecimal settledMoney;


}
